<?php
$this->breadcrumbs=array(
	'Customers'=>array('index'),
	$model->getFormattedNameFirstLast(),
);
?>

<div class="clearb"></div>

<div style="line-height: 24px;" class="span-26 append-1">
	
	<div class="item-header">
		<div class="span-auto append-1"><h2><?php echo $model->getFormattedNameFirstLast(); ?></h2></div>
	
		<div class="new">
			<span id="edit-link">(<a href="<?php echo $this->createUrl("customer/update/id/{$model->id}"); ?>">Edit Customer</a>)</span>
		</div>

	</div>
	
	<div class="clearb"></div>

	<div class="content-view">
	
		<div style="line-height: 18px;" class="float_left span-23">
			<div class="gray30">Address:</div>
			<?php echo $model->address; ?><br />
			<?php if (!empty($model->address2)) echo $model->address2."<br />"; ?>
			<?php echo $model->city ?>, <?php echo $model->state->name_short; ?>  <?php echo $model->zip ?>
			<br>
		</div>

	</div>	
	
	<div class="clearb prepend-top-1"></div>
	
	<div class="span-6 gray30 append-1">Phone:</div>
	<div class="span-18"><?php echo $model->phone; ?></div>
	
	<div class="span-6 gray30 append-1">Email:</div>
	<div class="span-18"><?php echo $model->email; ?></div>
	
</div>

<div class="span-11 sidebar roundbottom">
	<div style="padding: 20px 10px;">
		<!--  
		<h4 class="sidebar_header quicklinks"><span>Quick Links</span></h4>
		<ul class="links">
			<li><a href=""><span>Item Sales Orders</span></a></li>
			<li><a href=""><span>Item Purchase Orders</span></a></li>
		</ul>
		-->
		<h4 class="sidebar_header reports"><span>Reports</span></h4>
		<ul class="links">
			<li><a href=""><span>Some Nifty Report</span></a></li>
		</ul>
		
		<h4 class="sidebar_header search"><span>Quick Search</span></h4>
		<ul class="links">
			<li>
				<a href=""><span>Some Nifty Searches</span></a>						
			</li>
		</ul>
	</div>
</div>
